<template>
<!--pages/webview/webview.wxml-->
<web-view :src="path"></web-view>
</template>

<script>

export default {
  data() {
    return {
      path: ""
    };
  },

  components: {},
  props: {},

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    this.setData({
      path: decodeURIComponent(options.path)
    });
  },
  methods: {}
};
</script>
<style>
/* pages/webview/webview.wxss */
</style>